<?php
declare (strict_types = 1);

namespace app\api\controller\v1;
use think\facade\Request;
use app\api\service\StatusCode;
use app\api\service\UserToken;

/**
 * 全站的公共资源数据
 */
class Student extends Api
{
    /**
     * 系统登录
     */
    public function index()
    {
        $uid =  UserToken::getCurrentUid();
        $message = '当前用户的id:' . $uid;
        $this->return_msg(StatusCode::SUCCESS,$message);
    }
}